package oa.hleast.xswl.service.studies.service;

import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.studies.CaucusOrganization;
import oa.hleast.xswl.pojo.domain.studies.CaucusOrganizationApplication;
import oa.hleast.xswl.pojo.domain.studies.CaucusOrganizationMember;

/**
 * 团党组织申请表(CaucusOrganizationApplication)表服务接口
 *
 * @author makejava
 * @since 2021-11-08 13:33:55
 */
public interface CaucusOrganizationApplicationService extends IService<CaucusOrganizationApplication> {

    /**
     * 新增团党组织
     * @param caucusOrganizationApplication
     * @return
     */
    boolean addQuestionnaire(CaucusOrganizationApplication caucusOrganizationApplication);

    /**
     * 修改团党组织
     * @param caucusOrganization
     * @return
     */
    boolean updateOrganization(CaucusOrganization caucusOrganization);

    /**
     * 删除团党组织
     * @param caucusOrganization
     * @return
     */
    boolean deleteOrganization(CaucusOrganization caucusOrganization);

    /**
     * 手动添加成员
     * @param caucusOrganizationMember
     * @return
     */
    boolean manuallyAddOrganizationMember(CaucusOrganizationMember caucusOrganizationMember);

    /**
     * 修改团组织成员状态
     * @param caucusOrganizationMember
     * @return
     */
    boolean updateOrganizationMember(CaucusOrganizationMember caucusOrganizationMember);

    /**
     * 删除成员
     * @param ids
     * @return
     */
    boolean deleteOrganizationMember(String ids);
}

